-
-
Notifications
You must be signed in to change notification settings - Fork 470
fix(FormApi): clear onMount validation errors #1515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I'm thinking that instead of this change that maybe it would be expected to add a |
303d1fb
to
46355d2
Compare
Clear the `onMount` validation errors when the next validation is performed.
46355d2
to
72d68cb
Compare
View your CI Pipeline Execution ↗ for commit 2f35e8e.
☁️ Nx Cloud last updated this comment at |
@@ -7,7 +7,7 @@ title: TanStackField | |||
|
|||
# Class: TanStackField\<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnServer, TSubmitMeta\> | |||
|
|||
Defined in: [tanstack-field.directive.ts:31](https://github.com/TanStack/form/blob/main/packages/angular-form/src/tanstack-field.directive.ts#L31) | |||
Defined in: [tanstack-field.directive.ts:31](https://github.com/Pascalmh/tanstack-form/blob/main/packages/angular-form/src/tanstack-field.directive.ts#L31) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh dear, the docs seem to be messed up ... hopefully that gets fixed after merging
I'm going to close this since I believe this issue will be handled by one of the maintainers soon, and additionally I don't believe this is the right fix anymore. 😅 |
Fix #1510